<?php

$controler=str_replace('Controller','',$class);
//$url=FULL_BASE_URL;

/*
Ext.onReady(function() {
Ext.MessageBox.alert('".strtr(strtoupper('ERROR EN RUTA'),"àèìòùáéíóúçñäëïöü","ÀÈÌÒÙÁÉÍÓÚÇÑÄËÏÖÜ")."', 'La ruta  \"<font color=\'red\'>".$controler."</font>\" no existe.', null);
window.setTimeout(history.back(1),15000)

});

*/


echo "
<script type='text/javascript'>





Ext.require([
    'Ext.window.MessageBox',
    'Ext.tip.*'
]);

Ext.onReady(function(){

Ext.MessageBox.confirm('ERROR', 'La ruta  \"<font color=\'red\'>".$controler."</font>\" no existe.', mifuncion);



function mifuncion(btn){

if(btn=='yes'){ history.back(1);
}
else{ history.back(1);
}


};

});
</script>




";

?>

